@import './../../../../../styles/public.less';
.chartViewBox {
  scrollbar-width: none;
  /*Firefox*/
  -ms-overflow-style: none;
  /*IE10+*/
  ::-webkit-scrollbar {
    display: none;
    /*ChromeSafari*/
  }
  .backBtn {
    font-size: 14px;
    color: #2AC592;
    padding-bottom: 10px;
    cursor: pointer;
  }
  table {
    border-collapse: collapse; // background: rgba(247, 247, 247, 1) !important;
    tr {
      background: rgba(255, 255, 255, 1);
      border: 1px solid rgba(229, 229, 229, 1);
    }
    .bgtR {
      background: linear-gradient( 180deg, rgba(248, 248, 248, 1) 0%, rgba(255, 255, 255, 1) 54%, rgba(250, 250, 250, 1) 100%);
      border: 1px solid rgba(229, 229, 229, 1);
    }
    td {
      border-right: 1px solid rgba(229, 229, 229, 1); // height: 49.5px;
      height: 48.5px;
      min-width: 180px;
      max-width: 180px;
      text-align: center;
    }
    .mAdviceTr {
      td {
        // height: 25px;
        height: 24px;
      }
    }
    .otherTd {
      text-align: left;
      .itemBox {
        width: 100%;
        display: flex;
        >span {
          flex: 1;
          border-right: 1px solid rgba(229, 229, 229, 1);
          height: 47px;
          line-height: 47px;
          text-align: center;
        }
        &>span:last-child {
          border-right: none;
        }
      }
    }
    .tableBorder();
  }
  /*设置滚动属性*/
  tbody {
    display: block; // max-height: 400px;
    overflow-y: scroll;
  }
  /*设置头与内容自动对齐*/
  table thead,
  tfoot,
  tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  /*给滚动条预留宽度*/
  table thead,
  tfoot {
    // width: calc(100% - 1em);
    background: linear-gradient( 180deg, rgba(248, 248, 248, 1) 0%, rgba(239, 240, 241, 1) 100%);
  }
  /*清除umi默认样
  */
  ol,
  ul,
  dl {
    margin: 0;
    padding: 0;
    list-style: none;
  }
}

.chartView {
  font-size: 12px;
  padding: 5px;
  padding-bottom: 30px;
  float: left;
  width: 100%;
  height: calc(100% - 20px);
  overflow: scroll;
  background: #ffffff !important;
  .header {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient( 180deg, rgba(248, 248, 248, 1) 0%, rgba(239, 240, 241, 1) 100%);
    border: 1px solid rgba(229, 229, 229, 1);
    min-height: 50px;
    line-height: 50px;
    padding-left: 50px;
    li {
      flex: 1;
      min-width: 183px;
      text-align: left;
    }
  }
  /*
  内容
  */
  .container {
    // overflow: scroll;
    // height: 1000px;
    .left {
      width: 12%;
      height: 500px;
      float: left;
      li {
        height: 50px;
        line-height: 50px;
        background: linear-gradient( 180deg, rgba(248, 248, 248, 1) 0%, rgba(239, 240, 241, 1) 100%);
        border: 1px solid rgba(229, 229, 229, 1);
        text-align: center;
      }
      .otherLi {
        height: 300px;
        border: none;
        .otherUl1 {
          color: #333333;
          li {
            background: #ffffff !important;
          }
          li:first-child {
            background: linear-gradient( 180deg, rgba(248, 248, 248, 1) 0%, rgba(239, 240, 241, 1) 100%);
            border-bottom: 1px solid rgba(229, 229, 229, 1);
            border-top: 1px solid rgba(229, 229, 229, 1);
          }
        }
        .otherUl2 {
          li {
            background: #ffffff !important;
          }
          li:first-child {
            background: linear-gradient( 180deg, rgba(248, 248, 248, 1) 0%, rgba(239, 240, 241, 1) 100%);
            border-bottom: 1px solid rgba(229, 229, 229, 1);
            border-top: 1px solid rgba(229, 229, 229, 1);
          }
          color: #fe4545;
        }
        .otherUl3 {
          li {
            background: #ffffff !important;
          }
          li:first-child {
            background: linear-gradient( 180deg, rgba(248, 248, 248, 1) 0%, rgba(239, 240, 241, 1) 100%);
            border-bottom: 1px solid rgba(229, 229, 229, 1);
            border-top: 1px solid rgba(229, 229, 229, 1);
          }
          color: #266dfd;
        }
        ul {
          width: 33%;
          float: left;
          li {
            height: 30px;
            line-height: 30px;
            border: none;
          }
        }
      }
    }
    .right {
      width: 85%;
      float: left;
      background: #ffffff;
      #myChartTrue {
        background: white;
        div {
          width: 100%;
        } // ::v-deep canvas {
        //   top: -24px !important;
        //   height: 331px !important;
        // }
      }
    }
  } // position: relative;
  // background: none !important;
  .el-dialog__wrapper {
    background: none !important;
  }
  .mAdvice {
    position: relative;
    .typeNote {
      display: inline-block;
      width: 300px;
      word-wrap: none;
      line-height: 1;
      position: absolute;
      display: flex;
      bottom: -22px;
      left: 0;
      .mType {
        margin-right: 10px;
        &::before {
          content: '';
          display: inline-block;
          width: 10px;
          height: 10px;
          margin-right: 5px;
          transform: translateY(1px);
        }
      }
      .mType1 {
        &::before {
          background: #29D39B;
        }
      }
      .mType2 {
        &::before {
          background: #32D9F0;
        }
      }
      .mType3 {
        &::before {
          background: #ECC35B;
        }
      }
    }
  }
}